const mongoose = require('mongoose')

// 文章评论对象
const commentSchema = new mongoose.Schema({
  articleId: Number,
  author: String,
  articleTitle: String,
  username: String,
  content: String,
  createTime: String
})

const Comment = mongoose.model('jianshu_comment', commentSchema)

module.exports = {
  Comment
}